package com.mybatis.mapper;

import com.mybatis.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
   public List<User> findById(int id);
//   public List<User> findByIdAndUser(@Param("names") String name, @Param("ids") int id);

   public List<User> findByIdAndUser(User user);

   public List<User> findByUserName(User user);

   public int SaveUser(User user);

   public List<User> findIF(User user);
}
